# -*- coding: UTF-8 -*-
import direct.actor.Actor as ACTOR
import panda3d.core as CORE
class GameRole:
    def __init__(self,game,startPos):
        self.game_obj = game
        self.startPos = startPos
        pass
    def initRole(self): 
        
        self.ralph = ACTOR.Actor("resource/models/ralph/ralph",
                                 {"run":"resource/models/ralph/ralph-run",
                                  "walk":"resource/models/ralph/ralph-walk"})
        self.ralph.reparentTo(render)
        self.ralph.setScale(.2)
        self.ralph.setPos(self.startPos)
 
        
         
